package sample.templates;

import java.util.Vector;

public class DoubleDispatch {

	public static void main(String[] args) {
		Vector bin = new Vector();
		TrashBinSet bins = new TrashBinSet();
		try {
			parseTrash.fillBin("DDTrash.dat", bin);
		} catch (Exception e) {
			e.printStackTrace();
		}
		bins.sortInfoBins(bin);
		TypedBin[] tb = bins.binSet();
		for (int i = 0; i < tb.length; i++) {
			Trash.sumValue(tb[i].v);
			Trash.sumValue(bin);
		}
	}

}
